//
//  LoginTableCell.m
//  WDFans
//
//  Created by Zhihong Yuan on 2/3/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "LoginTableCell.h"

@implementation LoginTableCell

@synthesize loginField;
@synthesize delegate;

- (void)dealloc
{
    [loginField release];
    [super dealloc];
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

#pragma UITextFieldDelegate method
- (BOOL)textFieldShouldReturn:(UITextField *)textField
{
    [delegate didTextfiledReturnKeyClicked:self];
    return NO;
}

@end
